package com.dawn.iiotgateway.utils;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;


public class Timestamp {

    public static DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");

    public static String now() {
        return LocalDateTime.now().format(formatter);
    }
}
